package com.ruoyi.project.wechat.mapper;

import com.ruoyi.project.wechat.domain.ExtConfig;
import com.ruoyi.project.wechat.domain.ExtConfigExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ExtConfigMapper {
    long countByExample(ExtConfigExample example);

    int deleteByExample(ExtConfigExample example);

    /**
     * delete by primary key
     * @param eid primaryKey
     * @return deleteCount
     */
    int deleteByPrimaryKey(Integer eid);

    /**
     * insert record to table
     * @param record the record
     * @return insert count
     */
    int insert(ExtConfig record);

    /**
     * insert record to table selective
     * @param record the record
     * @return insert count
     */
    int insertSelective(ExtConfig record);

    List<ExtConfig> selectByExample(ExtConfigExample example);

    /**
     * select by primary key
     * @param eid primary key
     * @return object by primary key
     */
    ExtConfig selectByPrimaryKey(Integer eid);

    int updateByExampleSelective(@Param("record") ExtConfig record, @Param("example") ExtConfigExample example);

    int updateByExample(@Param("record") ExtConfig record, @Param("example") ExtConfigExample example);

    /**
     * update record selective
     * @param record the updated record
     * @return update count
     */
    int updateByPrimaryKeySelective(ExtConfig record);

    /**
     * update record
     * @param record the updated record
     * @return update count
     */
    int updateByPrimaryKey(ExtConfig record);
}